//- Author : chenyliu.
//- Date   : 2016/9/1.
//- File   : common.less.

html, body{
  height: 100%;
  width: 100%;
  min-width: 970px;
}

*:focus {
  outline: none !important;
}

// non-responsive
.container {
  width: 970px;
  max-width: none !important;
}

// .dropdown-menu {
//   left: -36px;
//   margin: 8px 0 0;
//   padding: 5px 0;
//   border: none;
//   background-color: #4c637b;

//   &:before {
//     position: absolute;
//     top: -8px;
//     left: 50%;
//     display: block;
//     width: 0;
//     height: 0;
//     margin-left: -4px;
//     content: " ";
//     vertical-align: middle;
//     border-right: 8px solid transparent;
//     border-bottom: 8px dashed #4c637b;
//     border-left: 8px solid transparent;
//   }
//   > li > a {
//     padding: 5px 20px;
//     color: #fff;

//     &:hover, &:focus {
//       color: #fff;
//       background-color: #37b0eb;
//     }
//   }
//   .active > a, .active a:hover, .active a:focus {
//     text-decoration: none;
//     color: #fff;
//     outline: 0;
//     background-color: #37b0eb;
//   }
// }
// .form-control{
//   &:focus{
//     box-shadow: none;
//   }
// }


.wrapper {
  font-family: "Microsoft Yahei";
  position: relative;
  height: 100%;
  width: 100%;
}

.main-wrapper {
  position: absolute;
  top: 100px;
  /* left: 180px; */
  /* top: 0; */
  left: 0;
  right: 0;
  bottom: 0;
}

.main-content {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding: 20px 100px;
}

.page{
  position: relative;
  height: 100%;
  // background: rgb(238, 237, 237);
  height: 100%;
  font-size: 18px;
  &-title{
    position: relative;
    background: #fff;
    margin: 15px auto;
    padding: 15px;
    box-shadow: rgb(197, 197, 197) 1px 1px 2px;
    .ivu-col{
      margin: 8px auto;
    }
    .fixed-button{
      position: absolute;
      cursor: pointer;
      z-index: 99;
      .ivu-btn-large{
        padding: 10px 50px;
      }
    }
    .arrow-ico{
      position: absolute;
      bottom: 15px;
      right: 15px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 1px solid #999;
      text-align: center;
      padding: 5px;
      font-size: 25px;
      cursor: pointer;
      z-index: 99;
    }
  }
  &-content{
    &-row{
      margin: 20px;
      height: 80%;
    }
    &-col{
      position: relative;
      background:#fff;
      padding: 30px;
      margin: 20px;
      font-size: 18px;
      box-shadow: rgb(197, 197, 197) 1px 1px 2px;
      box-sizing: border-box;
      cursor: pointer;
    }
  }
  &-foot{
    position: absolute;
    bottom: 30px;
    width: 100%;
  }
}
.fixed-ico{
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 100px;
  cursor: pointer;
  img{
    width: 100%;
  }
}

.table-order {
  >thead>tr{
    background-color: #fff;
    height: 50px;
    line-height: 50px;
    >th{
      text-align: center;
      vertical-align: middle;
      color: #7b7a7a;
      border-right: 1px solid rgb(190, 190, 190);
      text-indent: 11px;
    }        
    >th:last-child{
      border-right:none;
    }
  }
  > tbody > tr{        
    height: 50px;
    line-height: 50px;
  }
  td{
    text-align: center;   
    border-right: 1px solid rgb(190, 190, 190);
    .ivu-select{
      margin-left: 13px;
    }
  }
  td:last-child{
    border-right:none;
  }    
  .color0{
    background-color: rgb(223, 252, 224);
  }
  .color1{
    background-color: rgb(198, 239, 255);
  }
  .color2{
    background-color: rgb(255, 211, 211);
  }
  .color3{
    background-color: rgb(255, 255, 255);
  }
}
.table-order-hover {
  > tbody > tr:hover {
    background-color: rgb(241, 241, 241);
  }
}
.is-check{
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  border: 1px solid rgb(201, 201, 201);
  color: #39f;
  margin-right: 5px;
  &.checked{
    border: 1px solid #39f;
    i{
      display: inline-block;
    }
  }
  i{
    display: none;
    font-size: 20px;
    padding: 1px;
  }
}
